import http from '../api/http.js'
// 我的 - 七牛上传获取token
export const GETTOKEN = (params) => http.get('/apiImg/qiniutoken/get',params);
// 我的 - 银发订单 - 订单列表
export const GETORDERLIST = (params) => http.get('/api/order/index',params,true);
// 我的 - 银发订单 - 取消订单
export const CANCELORDER = (params) => http.post('/api/order/cancel',params,true);
// 我的 - 余额 - 获取分红金额
export const GETBONUSMONEY = (params) => http.get('/api/bonus/info',params);
// 我的 - 余额 - 分红列表
export const GETBONUSLIST = (params) => http.get('/api/bonus/index',params);
// 我的 - 余额 - 领取分红
export const RECEIVEBONUS = (params) => http.post('/api/bonus/receive',params,true);
//我的 - 余额 - 余额账单
export const GETBALANCELIST = (params) => http.get('/apiBalance/balance/billlist',params);
//我的 - 钱包 - 余额总数
export const GETBALANCETOTAL = (params) => http.get('/apiBalance/balance/userBalance',params,true);
//我的 - 钱包 - 矿金总数
export const GETGOLDTOTAL = (params) => http.get('/apiGold/gold/usergold',params);
//获取城市
export const GETCITY = (params) => http.get('/api/cities',params);
//编辑个人信息
export const EDITUSER = (params) => http.post('/api/user/edit',params,true);
//获取用户详情
export const GETUSERINFO = (params) => http.get('/api/user/info',params);
//我的 - 首页 - 保存背景图
export const SAVEBACKGROUND = (params) => http.post('/api/user/background',params);
//我的 - 首页 - 我的数据
export const GETUSERDATA = (params) => http.get('/api/user/statistics',params);
//我的 - 首页 - 我的消息
export const GETUSERMSG = (params) => http.get('/apiMsg/message/number',params);
//我的 - 首页 - 我的作品
export const GETWORKLIST = (params) => http.get('https://api.hongjitimes.com/interface.php/work/list',params);
//我的 - 首页 - 我喜欢的作品
export const GETLIKEWORKLIST = (params) => http.get('https://api.hongjitimes.com/interface.php/like/work/list',params);
//我的 - 联系客服 -获取客服信息
export const GETCUSTOMERMSG = (params) => http.get('/apiMsg/message/person',params);
//我的 - 联系客服 - 发送消息
export const SENDMSG = (params) => http.post('/apiMsg/message/send',params,true);
export const postCode = (params) => http.post('/code/code', params)
//我的 - 实名认证 - 用户是否认证
export const GETUSERVERIFY = (params) => http.get('/api/user/verify',params,true);
//我的 - 实名认证 - 提交信息
export const SUBMITUSERVERIFY = (params) => http.post('/api/user/verify',params);
//我的 - 腾讯云上传 - 获取签名
export const GETSIGN = (params) => http.get('https://api.hongjitimes.com/interface.php/get_vod_sign',params);
//分享视频
export const GETSHAREVIDEO = (params) => http.get('/api/user/video',params,true);
//素材列表
export const MATERIALLIST = (params) => http.get('/api/material/index',params);
//素材 - 添加、修改
export const ADDMATERIAL = (params) => http.post('/api/material/add',params);
//素材 - 详情
export const MATERIALDETAILS = (params) => http.get('/api/material/info',params);
//素材 - 删除
export const MATERIALREMOVE = (params) => http.post('/api/material/remove',params);
//广告 列表
export const ADVLIST = (params) => http.get('/adv/ad/index',params);



